package taskexception

import "cm2/exception"

// TaskException 处理Job时出现错误
var TaskException = exception.Exception{
	Code:    780200,
	Name:    "处理Task时出现错误",
	Message: "处理Task时出现错误",
}

// TaskProviderNotFound 未找到指定的Job处理提供者
var TaskProviderNotFound = exception.Exception{
	Code:    780201,
	Name:    "未找到指定的Task处理提供者",
	Message: "未找到指定的Task处理提供者: %s",
}

// ReportFailed 未找到指定的Job处理提供者
var ReportFailed = exception.Exception{
	Code:    780202,
	Name:    "向服务端回报失败",
	Message: "向服务端回报失败: %s",
}
